package com.fz.us.oa.core.service.com.impl;

import com.fz.us.admin.company.dao.BaseFlowDao;
import com.fz.us.admin.company.service.impl.BaseFlowServiceImpl;
import com.fz.us.oa.core.dao.com.OrderEntityDao;
import com.fz.us.oa.core.entity.com.OrderEntity;
import com.fz.us.oa.core.service.com.OrderEntityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by ZhuChunXiao on 2017/7/19.
 */
@Service
public class OrderEntityServiceImpl extends BaseFlowServiceImpl<OrderEntity,String> implements OrderEntityService {
    @Resource
    OrderEntityDao orderEntityDao;

    @Override
    public BaseFlowDao<OrderEntity, String> getBaseFlowDao() {
        return orderEntityDao;
    }

    @Override
    public boolean checkOrderNo(String orderNo, String keyId) {
        return orderEntityDao.checkOrderNo(orderNo, keyId);
    }
}
